package com.hs.device.charger.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class HistoryDataVo {
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    private String sn;
    private String connection;
    private LocalDateTime reportTime;
    private double voltageInput;
    private double voltageOutput;
    private double currentInput;
    private double currentOutput;
    private double frequencyInput;
    private double frequencyOutput;
    private double chargingTime;
    private double chargingEnergy;
}
